package cn.xshi.common.entity.index;

import cn.xshi.common.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * @Desc 资源实体
 * @Author 邓纯杰
 * @CreateTime 2012-12-12 12:12:12
 */
@Data
public class ResourceEntity  extends BaseEntity {

    @ApiModelProperty(value = "id")
    private String id;/**主键**/

    @ApiModelProperty(value = "名称")
    private String name;/**名称**/

    @ApiModelProperty(value = "父编号")
    private String parentId;/**访问资源地址**/

    @ApiModelProperty(value = "图标")
    private String iconCls;/**图标**/

    @ApiModelProperty(value = "是否叶子")
    private int leaf;/**是否叶子**/

    @ApiModelProperty(value = "图片路路径")
    private String images;/**图片路路径**/

    @ApiModelProperty(value = "排序")
    private int sort;/**排序**/

    @ApiModelProperty(value = "是否是系统菜单1是")
    private int isSys;/**是否是系统菜单1是/0否**/

    @ApiModelProperty(value = "状态0可用/1禁用")
    private int status;/**状态0可用/1禁用**/

    @ApiModelProperty(value = "所属子系统模块外键（即资源模块表主键）")
    private String sysModuleId;/**所属子系统模块外键（即资源模块表主键）**/

    @ApiModelProperty(value = "资源uri")
    private String url;

    @ApiModelProperty(value = "资源父名称")
    private String parentName;

    @ApiModelProperty(value = "隶属平台编号")
    private String sysModeId;/**隶属平台编号**/

    @ApiModelProperty(value = "组件路由")
    private String componentRouter;/**组件路由**/

    @ApiModelProperty(value = "组件地址即转发")
    private String componentRouterTo;/**组件地址即转发**/

    @ApiModelProperty(value = "组件图标")
    private String componentIcon;/**组件图标**/

    @ApiModelProperty(value = "跳转方式： 0站内 1站外 2 iframe")
    private int componentJumpType;/**跳转方式： 0站内 1站外 2 iframe**/

    @ApiModelProperty(value = "是否隐藏 0否 1是")
    private int componentHideMenu;/**是否隐藏 0否 1是**/

    @ApiModelProperty(value = "是否打开新页面 0是 1否")
    private int componentOpenNewPage;/**是否打开新页面 0是 1否**/

    @ApiModelProperty(value = "激活展开样式（注意存在子菜单时候展开菜单后是否激活样式）")
    private String componentOpenStyle;/**激活展开样式（注意存在子菜单时候展开菜单后是否激活样式）**/

    ////////扩展字段/////
    @ApiModelProperty(value = "模块名称")
    private String sysModulesName;

    @ApiModelProperty(value = "隶属平台名称")
    private String sysName;/**隶属平台名称**/

    @ApiModelProperty(value = "平台地址路径")
    private String sysModeUrl;/**平台地址路径**/

    @ApiModelProperty(value = "隶属平台图标")
    private String sysModeIcon;/**隶属平台图标**/

    @ApiModelProperty(value = "子系统排序号")
    private int modeSort;/**子系统排序号**/

    @ApiModelProperty(value = "模块标记")
    private String sysModulesMode;//模块标记
}
